package main

import (
	_ "demo/internal/logic"

	"context"
	"demo/gcore/logger"
	"demo/internal/conf"

	"github.com/gogf/gf/v2/frame/g"
)

func main() {
	logger.InitLogger()
	g.Log().Info(context.Background(), "hello")
	cf := &conf.BaseConf{}
	bc := conf.NewComponets()
	r, err := wireGfApp(cf, bc)
	if err != nil {
		panic(err)
	}
	r.Run()
}
